home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form GetFile
- Caption = "Open WMF File"
- Height = 4860
- Left = 2325
- LinkTopic = "Form2"
- ScaleHeight = 4455
- ScaleWidth = 4095
- Top = 1920
- Width = 4215
- Begin CommandButton Command2
- Cancel = -1 'True
- Caption = "Cancel"
- Height = 315
- Left = 3000
- TabIndex = 4
- Top = 480
- Width = 975
- End
- Begin CommandButton Command1
- Caption = "OK"
- Default = -1 'True
- Height = 315
- Left = 3000
- TabIndex = 3
- Top = 120
- Width = 975
- End
- Begin FileListBox File1
- Height = 4125
- Left = 120
- Pattern = "*.wmf"
- TabIndex = 2
- Top = 120
- Width = 1695
- End
- Begin DirListBox Dir1
- Height = 3180
- Left = 1920
- TabIndex = 1
- Top = 900
- Width = 2055
- End
- Begin DriveListBox Drive1
- Height = 315
- Left = 1920
- TabIndex = 0
- Top = 120
- Width = 855
- End
- Sub Command1_Click ()
- thepath$ = file1.path
- If Right$(thepath$, 1) <> "\" Then thepath$ = thepath$ + "\"
- thefile$ = thepath$ + file1.filename
- Unload getfile
- End Sub
- Sub Command2_Click ()
- thefile$ = ""
- Unload getfile
- End Sub
- Sub Dir1_Change ()
- file1.path = dir1.path
- End Sub
- Sub Drive1_Change ()
- dir1.path = drive1.drive
- End Sub
- Sub File1_DblClick ()
- thepath$ = file1.path
- If Right$(thepath$, 1) <> "\" Then thepath$ = thepath$ + "\"
- thefile$ = thepath$ + file1.filename
- Unload getfile
- End Sub
-